package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.content.model.dto.CourseTeacherDto;
import com.xuecheng.content.model.po.CourseTeacher;

import java.util.List;

public interface CourseTeacherService extends IService<CourseTeacher> {

    List<CourseTeacher> getCourseTeacher(Long courseId);

    CourseTeacher saveCourseTeacher(CourseTeacherDto courseTeacherDto);

    List<CourseTeacher> selectByCompanyId(Long companyId);

    List<CourseTeacher> selectByCompanyIdAndCourseId(Long courseId, Long companyId);

    void deleteCourseTeacher(Long courseId, Long id);
}